| Package | Description | 
|---|---|
| com.google.common.truth.extensions.proto | 
 Custom subjects for testing Protocol
 Buffer instances. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static FieldScope | 
FieldScopes.all()
Returns a  
FieldScope which matches all fields without exception. | 
abstract FieldScope | 
FieldScope.allowingFieldDescriptors(com.google.protobuf.Descriptors.FieldDescriptor firstFieldDescriptor,
                        com.google.protobuf.Descriptors.FieldDescriptor... rest)
Returns a  
FieldScope equivalent to this one, plus all fields matching the given Descriptors.FieldDescriptors. | 
static FieldScope | 
FieldScopes.allowingFieldDescriptors(com.google.protobuf.Descriptors.FieldDescriptor firstFieldDescriptor,
                        com.google.protobuf.Descriptors.FieldDescriptor... rest)
Returns a  
FieldScope which matches nothing except the provided field descriptors for
 the message. | 
abstract FieldScope | 
FieldScope.allowingFields(int firstFieldNumber,
              int... rest)
Returns a  
FieldScope equivalent to this one, plus all fields defined by the given field
 numbers. | 
static FieldScope | 
FieldScopes.allowingFields(int firstFieldNumber,
              int... rest)
Returns a  
FieldScope which matches nothing except the provided field numbers for the
 top level message type. | 
static FieldScope | 
FieldScopes.fromSetFields(Iterable<? extends com.google.protobuf.Message> messages)
Creates a  
FieldScope convering the fields set in every message in the provided list of
 messages, with the same semantics as in FieldScopes.fromSetFields(Message). | 
static FieldScope | 
FieldScopes.fromSetFields(com.google.protobuf.Message message)
Returns a  
FieldScope which is constrained to precisely those specific field paths that
 are explicitly set in the message. | 
static FieldScope | 
FieldScopes.fromSetFields(com.google.protobuf.Message firstMessage,
             com.google.protobuf.Message secondMessage,
             com.google.protobuf.Message... rest)
Creates a  
FieldScope convering the fields set in every message in the provided list of
 messages, with the same semantics as in FieldScopes.fromSetFields(Message). | 
abstract FieldScope | 
FieldScope.ignoringFieldDescriptors(com.google.protobuf.Descriptors.FieldDescriptor firstFieldDescriptor,
                        com.google.protobuf.Descriptors.FieldDescriptor... rest)
Returns a  
FieldScope equivalent to this one, minus all fields matching the given Descriptors.FieldDescriptors. | 
static FieldScope | 
FieldScopes.ignoringFieldDescriptors(com.google.protobuf.Descriptors.FieldDescriptor firstFieldDescriptor,
                        com.google.protobuf.Descriptors.FieldDescriptor... rest)
Returns a  
FieldScope which matches everything except the provided field descriptors for
 the message. | 
abstract FieldScope | 
FieldScope.ignoringFields(int firstFieldNumber,
              int... rest)
Returns a  
FieldScope equivalent to this one, minus all fields defined by the given
 field numbers. | 
static FieldScope | 
FieldScopes.ignoringFields(int firstFieldNumber,
              int... rest)
Returns a  
FieldScope which matches everything except the provided field numbers for the
 top level message type. | 
static FieldScope | 
FieldScopes.none()
Returns a  
FieldScope which matches no fields. | 
| Modifier and Type | Method and Description | 
|---|---|
ProtoFluentAssertion | 
ProtoSubject.ignoringFieldScope(FieldScope fieldScope)  | 
IterableOfProtosFluentAssertion<M> | 
IterableOfProtosSubject.ignoringFieldScope(FieldScope fieldScope)
Excludes all specific field paths under the argument  
FieldScope from the comparison. | 
ProtoFluentAssertion | 
ProtoFluentAssertion.ignoringFieldScope(FieldScope fieldScope)
Excludes all specific field paths under the argument  
FieldScope from the comparison. | 
IterableOfProtosFluentAssertion<M> | 
IterableOfProtosFluentAssertion.ignoringFieldScope(FieldScope fieldScope)
Excludes all specific field paths under the argument  
FieldScope from the comparison. | 
ProtoFluentAssertion | 
ProtoSubject.withPartialScope(FieldScope fieldScope)  | 
IterableOfProtosFluentAssertion<M> | 
IterableOfProtosSubject.withPartialScope(FieldScope fieldScope)
Limits the comparison of Protocol buffers to the defined  
FieldScope. | 
ProtoFluentAssertion | 
ProtoFluentAssertion.withPartialScope(FieldScope fieldScope)
Limits the comparison of Protocol buffers to the defined  
FieldScope. | 
IterableOfProtosFluentAssertion<M> | 
IterableOfProtosFluentAssertion.withPartialScope(FieldScope fieldScope)
Limits the comparison of Protocol buffers to the defined  
FieldScope. | 
Copyright © 2016. All rights reserved.