Package com.github.xds.type.v3
Interface TypedStructOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TypedStruct,TypedStruct.Builder
public interface TypedStructOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA URL that uniquely identifies the type of the serialize protocol buffer message.com.google.protobuf.ByteStringA URL that uniquely identifies the type of the serialize protocol buffer message.com.google.protobuf.StructgetValue()A JSON representation of the above specified type.com.google.protobuf.StructOrBuilderA JSON representation of the above specified type.booleanhasValue()A JSON representation of the above specified type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeUrl
String getTypeUrl()A URL that uniquely identifies the type of the serialize protocol buffer message. This has same semantics and format described in google.protobuf.Any: https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/any.proto
string type_url = 1;- Returns:
- The typeUrl.
-
getTypeUrlBytes
com.google.protobuf.ByteString getTypeUrlBytes()A URL that uniquely identifies the type of the serialize protocol buffer message. This has same semantics and format described in google.protobuf.Any: https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/any.proto
string type_url = 1;- Returns:
- The bytes for typeUrl.
-
hasValue
boolean hasValue()A JSON representation of the above specified type.
.google.protobuf.Struct value = 2;- Returns:
- Whether the value field is set.
-
getValue
com.google.protobuf.Struct getValue()A JSON representation of the above specified type.
.google.protobuf.Struct value = 2;- Returns:
- The value.
-
getValueOrBuilder
com.google.protobuf.StructOrBuilder getValueOrBuilder()A JSON representation of the above specified type.
.google.protobuf.Struct value = 2;
-