- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class LoggingServer.Builder extends GeneratedMessageV3.Builder<LoggingServer.Builder> implements LoggingServerOrBuilder
Logging server to receive vCenter or ESXi logs.
Protobuf type google.cloud.vmwareengine.v1.LoggingServer
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LoggingServer.BuilderImplements
LoggingServerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoggingServer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
build()
public LoggingServer build()
Returns | |
---|---|
Type | Description |
LoggingServer |
buildPartial()
public LoggingServer buildPartial()
Returns | |
---|---|
Type | Description |
LoggingServer |
clear()
public LoggingServer.Builder clear()
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
clearCreateTime()
public LoggingServer.Builder clearCreateTime()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
clearField(Descriptors.FieldDescriptor field)
public LoggingServer.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
clearHostname()
public LoggingServer.Builder clearHostname()
Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
string hostname = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
clearName()
public LoggingServer.Builder clearName()
Output only. The resource name of this logging server.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LoggingServer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
clearPort()
public LoggingServer.Builder clearPort()
Required. Port number at which the logging server receives logs.
int32 port = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
clearProtocol()
public LoggingServer.Builder clearProtocol()
Required. Protocol used by vCenter to send logs to a logging server.
.google.cloud.vmwareengine.v1.LoggingServer.Protocol protocol = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
clearSourceType()
public LoggingServer.Builder clearSourceType()
Required. The type of component that produces logs that will be forwarded to this logging server.
.google.cloud.vmwareengine.v1.LoggingServer.SourceType source_type = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
clearUid()
public LoggingServer.Builder clearUid()
Output only. System-generated unique identifier for the resource.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
clearUpdateTime()
public LoggingServer.Builder clearUpdateTime()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
clone()
public LoggingServer.Builder clone()
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public LoggingServer getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LoggingServer |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHostname()
public String getHostname()
Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
string hostname = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The hostname. |
getHostnameBytes()
public ByteString getHostnameBytes()
Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
string hostname = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for hostname. |
getName()
public String getName()
Output only. The resource name of this logging server.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of this logging server.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPort()
public int getPort()
Required. Port number at which the logging server receives logs.
int32 port = 7 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The port. |
getProtocol()
public LoggingServer.Protocol getProtocol()
Required. Protocol used by vCenter to send logs to a logging server.
.google.cloud.vmwareengine.v1.LoggingServer.Protocol protocol = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LoggingServer.Protocol |
The protocol. |
getProtocolValue()
public int getProtocolValue()
Required. Protocol used by vCenter to send logs to a logging server.
.google.cloud.vmwareengine.v1.LoggingServer.Protocol protocol = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for protocol. |
getSourceType()
public LoggingServer.SourceType getSourceType()
Required. The type of component that produces logs that will be forwarded to this logging server.
.google.cloud.vmwareengine.v1.LoggingServer.SourceType source_type = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
LoggingServer.SourceType |
The sourceType. |
getSourceTypeValue()
public int getSourceTypeValue()
Required. The type of component that produces logs that will be forwarded to this logging server.
.google.cloud.vmwareengine.v1.LoggingServer.SourceType source_type = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for sourceType. |
getUid()
public String getUid()
Output only. System-generated unique identifier for the resource.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. System-generated unique identifier for the resource.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uid. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public LoggingServer.Builder mergeCreateTime(Timestamp value)
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
mergeFrom(LoggingServer other)
public LoggingServer.Builder mergeFrom(LoggingServer other)
Parameter | |
---|---|
Name | Description |
other |
LoggingServer |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LoggingServer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LoggingServer.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoggingServer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
mergeUpdateTime(Timestamp value)
public LoggingServer.Builder mergeUpdateTime(Timestamp value)
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
setCreateTime(Timestamp value)
public LoggingServer.Builder setCreateTime(Timestamp value)
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public LoggingServer.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LoggingServer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
setHostname(String value)
public LoggingServer.Builder setHostname(String value)
Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
string hostname = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The hostname to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setHostnameBytes(ByteString value)
public LoggingServer.Builder setHostnameBytes(ByteString value)
Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
string hostname = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for hostname to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setName(String value)
public LoggingServer.Builder setName(String value)
Output only. The resource name of this logging server.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public LoggingServer.Builder setNameBytes(ByteString value)
Output only. The resource name of this logging server.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setPort(int value)
public LoggingServer.Builder setPort(int value)
Required. Port number at which the logging server receives logs.
int32 port = 7 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The port to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setProtocol(LoggingServer.Protocol value)
public LoggingServer.Builder setProtocol(LoggingServer.Protocol value)
Required. Protocol used by vCenter to send logs to a logging server.
.google.cloud.vmwareengine.v1.LoggingServer.Protocol protocol = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
LoggingServer.Protocol The protocol to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setProtocolValue(int value)
public LoggingServer.Builder setProtocolValue(int value)
Required. Protocol used by vCenter to send logs to a logging server.
.google.cloud.vmwareengine.v1.LoggingServer.Protocol protocol = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for protocol to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoggingServer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
setSourceType(LoggingServer.SourceType value)
public LoggingServer.Builder setSourceType(LoggingServer.SourceType value)
Required. The type of component that produces logs that will be forwarded to this logging server.
.google.cloud.vmwareengine.v1.LoggingServer.SourceType source_type = 10 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
LoggingServer.SourceType The sourceType to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setSourceTypeValue(int value)
public LoggingServer.Builder setSourceTypeValue(int value)
Required. The type of component that produces logs that will be forwarded to this logging server.
.google.cloud.vmwareengine.v1.LoggingServer.SourceType source_type = 10 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for sourceType to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setUid(String value)
public LoggingServer.Builder setUid(String value)
Output only. System-generated unique identifier for the resource.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The uid to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setUidBytes(ByteString value)
public LoggingServer.Builder setUidBytes(ByteString value)
Output only. System-generated unique identifier for the resource.
string uid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final LoggingServer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
setUpdateTime(Timestamp value)
public LoggingServer.Builder setUpdateTime(Timestamp value)
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public LoggingServer.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
LoggingServer.Builder |