public final class UpdateViewRequest extends GeneratedMessageV3 implements UpdateViewRequestOrBuilder
The parameters to UpdateView
.
Protobuf type google.logging.v2.UpdateViewRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateViewRequestImplements
UpdateViewRequestOrBuilderStatic Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Type | Description |
int |
VIEW_FIELD_NUMBER
public static final int VIEW_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UpdateViewRequest getDefaultInstance()
Type | Description |
UpdateViewRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static UpdateViewRequest.Builder newBuilder()
Type | Description |
UpdateViewRequest.Builder |
newBuilder(UpdateViewRequest prototype)
public static UpdateViewRequest.Builder newBuilder(UpdateViewRequest prototype)
Name | Description |
prototype | UpdateViewRequest |
Type | Description |
UpdateViewRequest.Builder |
parseDelimitedFrom(InputStream input)
public static UpdateViewRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateViewRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateViewRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateViewRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpdateViewRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
UpdateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateViewRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpdateViewRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
UpdateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateViewRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpdateViewRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
UpdateViewRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateViewRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateViewRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpdateViewRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateViewRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateViewRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateViewRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpdateViewRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
UpdateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateViewRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateViewRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpdateViewRequest> parser()
Type | Description |
Parser<UpdateViewRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public UpdateViewRequest getDefaultInstanceForType()
Type | Description |
UpdateViewRequest |
getName()
public String getName()
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
Example:
"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id"
.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The full resource name of the view to update
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
Example:
"projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id"
.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<UpdateViewRequest> getParserForType()
Type | Description |
Parser<UpdateViewRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Field mask that specifies the fields in view
that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name
and output only fields cannot be updated.
For a detailed FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
Example: updateMask=filter
.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Field mask that specifies the fields in view
that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name
and output only fields cannot be updated.
For a detailed FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
Example: updateMask=filter
.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
FieldMaskOrBuilder |
getView()
public LogView getView()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
LogView | The view. |
getViewOrBuilder()
public LogViewOrBuilder getViewOrBuilder()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
LogViewOrBuilder |
hasUpdateMask()
public boolean hasUpdateMask()
Optional. Field mask that specifies the fields in view
that need
an update. A field will be overwritten if, and only if, it is
in the update mask. name
and output only fields cannot be updated.
For a detailed FieldMask
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
Example: updateMask=filter
.
.google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | Whether the updateMask field is set. |
hasView()
public boolean hasView()
Required. The updated view.
.google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the view field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public UpdateViewRequest.Builder newBuilderForType()
Type | Description |
UpdateViewRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateViewRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
UpdateViewRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public UpdateViewRequest.Builder toBuilder()
Type | Description |
UpdateViewRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |